<template>
<view>
  <view class="about-container order">
    <view class="header-section text-center">
      <image style="width: 150rpx;height: 150rpx;" src="/static/logoAPP.png" mode="widthFix">
      </image>
      <uni-title type="h2" title="数字全息巡防终端"></uni-title>
	     <view class="text-right">当前版本{{version}}</view>
    </view>
  </view>

     <view class="content-section order">
      <view class="menu-list">
        <view class="list-cell list-cell-arrow">
          <view class="menu-item-box"  @click="handleLog">
            <view class="menu-rz">版本日志</view>
           
          </view>
        </view>
        <view class="list-cell list-cell-arrow">
          <view class="menu-item-box" @click="getNewVersion()">
            <view >检查新版本</view>
          </view>
        </view>
      </view>
    </view>

    </view>
</template>

<script>
  export default {
    data() {
      return {
        url: getApp().globalData.config.appInfo.site_url,
        version: getApp().globalData.config.appInfo.version
      }
    },
	methods: {
	  handleLog() {
	    this.$tab.navigateTo('/pages/my/myxiugaimima/log/index')
	  },
	  getNewVersion(){
		  this.$modal.showToast('为最新版本')
	  }
	  
	  }
  }
</script>

<style lang="scss" scoped>
  page {
    background-color: #f8f8f8;
  }

  .copyright {
    margin-top: 50rpx;
    text-align: center;
    line-height: 60rpx;
    color: #999;
  }

  .header-section {
    display: flex;
    padding: 30rpx 0 0;
    flex-direction: column;
    align-items: center;
  }
  .order {
  width: 710rpx;
  background-color: #ffffff;
  margin: 20rpx auto;
  border-radius: 8rpx;
  box-sizing: border-box;
  padding: 20rpx;
  font-size: 28rpx;
  border-radius: 4px;
}
.text-right{
  font-size: 20px;
    font-family: PingFangSC-Regular, PingFang SC;
    font-weight: 400;
    color: #225EA4;
    
}
.menu-rz{
  font-size: 16px;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #343434;
}
.menu-list {
    margin: 0px 0px;
}

</style>
